﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Iworld.ViewModel
{
    /// <summary>
    /// 描述视图模型服务的接口
    /// </summary>
    /// <typeparam name="TPage">页面标识的枚举</typeparam>
    public interface IViewModelService<TPage> where TPage :struct
    {
        void JumpToDefaultPage();

        void JumpTo(string pageName);

        void JumpTo(TPage page);

        void JumpTo(TPage page,string args);

        void RegisterPage(ViewAttribute view);
        //ViewAttribute
    }
}
